package com.zeng.pojo;

import com.oracle.webservices.internal.api.databinding.DatabindingMode;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.util.Date;

/**
 * @author zeng
 * @data 2021/07/21 17:32
 */
@Data
public class Blog {
    private String id;
    private String title;
    private String author;
    private Date creatTime;
    private int views;

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", creatTime=" + creatTime +
                ", views=" + views +
                '}';
    }
}
